package com.thoughtworks.biblioteca;

/**
 * An abstract class implements the interface. It contains the common methods of
 * each concrete item. Concrete items extends this class.
 */

public abstract class AbstractMenuItem implements MenuItem {
    private String itemName;

    public AbstractMenuItem(String itemName) {
        this.itemName = itemName;
    }

    public String toString() {
        return itemName;
    }

}
